package untity;

import java.io.Serializable;

public class Chatmessage  implements Serializable {
    private Integer userId;
    private String date;
    private String text;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    @Override
    public String toString() {
        return "Chatmessage{" +
                "userId=" + userId +
                ", date='" + date + '\'' +
                ", text='" + text + '\'' +
                '}';
    }
}
